﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace BolsaWeb.Dominio
{
    public class Ofertante
    {
        public Int32 id { get; set; }
        [Required(ErrorMessage = "El RUC es obligatorio")]
        [StringLength(11, ErrorMessage = "Máximo 11 caracteres")]
        public String NumeroRuc { get; set; }
        [Required(ErrorMessage = "La Razón social es obligatorio")]
        public String RazonSocial { get; set; }
        [Required(ErrorMessage = "El correo es obligatorio")]
        public String Correo { get; set; }
        [Required(ErrorMessage = "La clave es obligatorio")]
        public String Clave { get; set; }
    }
}
